<template>
  <div id="logo_container">
    <logo txt="传入组件的值"></logo>
  </div>
</template>

<!--<script src="https://unpkg.com/vue"></script>-->
<script>
// import qs from 'querystring'

import Logo from '../../components/logo'

export default {
  components: {
    Logo
  },
  data: function () {
    return {
      products: []
    }
  },
  computed: {
    // totalProducts() {
    //   return this.products.reduce((sum, product) => {
    //     return sum + product.quantity
    //   }, 0)
    // }
  },
  created() {
    // fetch('https://hyh-hrz.cn/game/?s=Test/getProduct').then(response => response.json()).then(json => {
    //   this.products = json.products
    // });
  },
  methods: {
    test: function () {
      console.log(123);
    }
  }
}
</script>
